package com.tantinale.miaoshaproject.service;

import com.tantinale.miaoshaproject.error.BusinessException;
import com.tantinale.miaoshaproject.service.model.UserModel;

public interface UserService {
    //通过用户id获取
    UserModel getUserById(Integer id);
    //注册
    void register(UserModel userModel) throws BusinessException;
    //登录校验
    UserModel validateLogin(String telphone, String encrptPassword) throws BusinessException;
}
